﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TDAPIOLELib;

namespace QCCure.Core
{
    [Serializable]
    public class QCUserGroup
    {
        private string name;

        public QCUserGroup()
        {
        }

        public QCUserGroup(string groupName)
        {
            this.name = groupName;
        }

        public QCUserGroup(ICustomizationUsersGroup group)
        {
            this.name = group.Name;
        }

        public string Name
        {
            get {
                if (name != null)
                {
                    return "[" + name + "]";
                }
                else
                {
                    return "";
                }
            }
        }

        public override string ToString()
        {
            return Name;
        }
    }
}
